package top.kent90.service;



import top.kent90.common.object.Result;
import top.kent90.common.object.ZTreeNode;
import top.kent90.pojo.SysRoleRights;
import top.kent90.pojo.SysRoles;

import java.util.List;
import java.util.Map;

public interface SysRolesService {
    //根据条件查询角色
    Result queryRoles(Map<String, Object> map, String pageNum, String pageSize);


    List<ZTreeNode> createTree(String roleId) ;


    int savePopedomRoles(Integer roleId, List<SysRoleRights> list);


    List<Map<String, Object>> queryRoleUser(Integer valueOf);

    int delRole(String roleid);

    int addRole(SysRoles sysRole);
}
